FROM ubuntu:20.04
RUN apt-get update \
    && apt-get install wget pciutils ocaml libelf-dev libnuma1 libdrm2 libdrm-amdgpu1 kmod build-essential -y \
    && wget -O DTK-24.04.tar.gz "https://cancon.hpccube.com:65024/directlink/1/DTK-24.04/Ubuntu20.04.1/DTK-24.04-Ubuntu20.04.1-x86_64.tar.gz" \
    && tar -xvf 24.04.tar.gz -C /opt/ \
    && echo 'export HSA_USERPTR_FOR_PAGED_MEM=0'>>/opt/dtk-24.04/env.sh
